<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <style>
        body {
            background: #f06d06;
            font-size: 80%;
        }

        main {
            background: white;
            margin: 20px 0;
            padding: 40px;
        }

        main div {
            border: 2px solid black;
            background: yellowgreen;
            color: white;

            height: 100px;
            line-height: 100px;

            /*padding: 20px;*/
            width: 50%;
            white-space: nowrap;
        }

    </style>
</head>
<body>

<main>
    <div>
        测试测试测试测试测试测试测试测试测试
    </div>
</main>
</body>
</html>